public class Jeep extends Car {
	
	private boolean is4x4On = false;
	private boolean isDrivingOffRoad = false;
	
	
	Jeep(int numberOfDoors, boolean isSportCar) {
		super(numberOfDoors, isSportCar);
		
	}

	public void switch4x4() {
		this.is4x4On = true;

	}

	public boolean isIs4x4On() {
		return is4x4On;
	}

	public void setIs4x4On(boolean is4x4On) {
		this.is4x4On = is4x4On;
	}

	void driveOffRoad() {
		isDrivingOffRoad = true;

	}

	public boolean getIsDrivingOffRoad() {
		return isDrivingOffRoad;
	}

	public void setDrivingOffRoad(boolean isDrivingOffRoad) {
		this.isDrivingOffRoad = isDrivingOffRoad;
	}

}